package com.xsh.opensltest;

import android.app.Application;
import android.content.Context;

import com.simple.spiderman.SpiderMan;

import java.io.File;

//import com.simple.
public class App extends Application
{
    public static File appCacheDir;
    public static File appFilesDir;
    public static Context appContext;
    public static String plugin_layout = "layout/ui.json";
    public static String plugin_jar = "java/classesd8.jar";
    public static String plugin_config = "config/AndroidManifest.xml";
    @Override
    public void onCreate() {
        super.onCreate();
        xcrash.XCrash.init(this);
        SpiderMan.init(this);
        appCacheDir = getCacheDir();
        appFilesDir = getFilesDir();
        appContext = getApplicationContext();
    }
}
